package com.springboot.service;

import com.github.pagehelper.PageInfo;
import com.springboot.entity.User;

import java.util.List;

/**
 * Created by megagao on 2018/7/16.
 */
public interface UserService {

    int addUser(User user);

    PageInfo<User> findAllUser(int pageNum, int pageSize);
}
